package chtp10;

import java.util.Arrays;
import java.util.Scanner;

public class Main7_2 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] list = new int[n];
		for (int i = 0; i < list.length; i++) {
			try {
				String x = sc.next();
				list[i]=Integer.parseInt(x);
			}catch(Exception e) {
				System.out.println(e);
				i--;
			}	
				
		}
		System.out.println(Arrays.toString(list));
			
		}
	}

